package com.openbrew.openbrewpos;

import android.os.Bundle;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;

public class SettingsActivity extends Activity {

	@SuppressLint("NewApi")
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_settings);
	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.settings, menu);
		return true;
	}
	
	public void openProductSetupView(View view){
		Intent i = new Intent(this, ProductSetupView.class);
		startActivity(i);
	}
	
	public void openGlasswareSetupView(View view){
		Intent i = new Intent(this, GlasswareSetupView.class);
		startActivity(i);
	}

	public void openDiscountSetupView(View view){
		Intent i = new Intent(this, DiscountSetupView.class);
		startActivity(i);
	}
}
